package com.itheima.reggie.service;

import com.itheima.reggie.entity.User;
import com.itheima.reggie.utils.Result;

import javax.servlet.http.HttpSession;
import java.util.Map;

public interface UserService {
    Result<String> getCode(User user, HttpSession session);

    Result<User> login(Map map, HttpSession session);
}
